package router

import (
	"jslog/service/admin"
	"jslog/system/middleware"

	"github.com/gin-gonic/gin"
)

func VerifyAdminRouter(eng *gin.Engine) {

	eng.Use(middleware.ApiAuth)

	//管理商品
	e := eng.Group("/admin")
	{
		e.POST("/user/list", admin.User{}.List)
		e.POST("/file/upload", admin.User{}.List)
	}
}
